package com.gthncz;

import org.springframework.beans.factory.FactoryBean;

public class CarFactory implements FactoryBean<Car> {

    public Car getObject() throws Exception {
        return new Car("HongQi", "ChangAN", 100000L);
    }

    public Class<?> getObjectType() {
        return Car.class;
    }

    public boolean isSingleton() {
        return false;
    }

}
